<?php
/*
  $Id: categories.php,v 1.26 2003/07/11 14:40:28 hpdl Exp $

  osCommerce, Open Source E-Commerce Solutions
  http://www.oscommerce.com

  Copyright (c) 2002 osCommerce

  Released under the GNU General Public License
*/

define('HEADING_TITLE', 'Categories / Products');
define('HEADING_TITLE_SEARCH', 'Search:');
define('HEADING_TITLE_GOTO', 'Go To:');

define('TABLE_HEADING_ID', 'ID');
define('TABLE_HEADING_CATEGORIES_PRODUCTS', 'Categories / Products');
define('TABLE_HEADING_ACTION', 'Action');
define('TABLE_HEADING_STATUS', 'Status');

define('TEXT_NEW_PRODUCT', 'New Product in &quot;%s&quot;');
define('TEXT_CATEGORIES', 'Categories:');
define('TEXT_SUBCATEGORIES', 'Subcategories:');
define('TEXT_PRODUCTS', 'Products:');
define('TEXT_PRODUCTS_PRICE_INFO', 'Price:');
define('TEXT_PRODUCTS_TAX_CLASS', 'Tax Class:');
define('TEXT_PRODUCTS_AVERAGE_RATING', 'Average Rating:');
define('TEXT_PRODUCTS_QUANTITY_INFO', 'Quantity:');
define('TEXT_DATE_ADDED', 'Date Added:');
define('TEXT_DATE_AVAILABLE', 'Date Available:');
define('TEXT_LAST_MODIFIED', 'Last Modified:');
define('TEXT_IMAGE_NONEXISTENT', 'IMAGE DOES NOT EXIST');
define('TEXT_NO_CHILD_CATEGORIES_OR_PRODUCTS', 'Please insert a new category or product in this level.');
define('TEXT_PRODUCT_MORE_INFORMATION', 'For more information, please visit this products <a href="http://%s" target="blank"><u>webpage</u></a>.');
define('TEXT_PRODUCT_DATE_ADDED', 'This product was added to our catalog on %s.');
define('TEXT_PRODUCT_DATE_AVAILABLE', 'This product will be in stock on %s.');

define('TEXT_EDIT_INTRO', 'Please make any necessary changes');
define('TEXT_EDIT_CATEGORIES_ID', 'Category ID:');
define('TEXT_EDIT_CATEGORIES_NAME', 'Category Name:');
define('TEXT_EDIT_CATEGORIES_IMAGE', 'Category Image:');
define('TEXT_EDIT_SORT_ORDER', 'Sort Order:');

define('TEXT_INFO_COPY_TO_INTRO', 'Please choose a new category you wish to copy this product to');
define('TEXT_INFO_CURRENT_CATEGORIES', 'Current Categories:');

define('TEXT_INFO_HEADING_NEW_CATEGORY', 'New Category');
define('TEXT_INFO_HEADING_EDIT_CATEGORY', 'Edit Category');
define('TEXT_INFO_HEADING_DELETE_CATEGORY', 'Delete Category');
define('TEXT_INFO_HEADING_MOVE_CATEGORY', 'Move Category');
define('TEXT_INFO_HEADING_DELETE_PRODUCT', 'Delete Product');
define('TEXT_INFO_HEADING_MOVE_PRODUCT', 'Move Product');
define('TEXT_INFO_HEADING_COPY_TO', 'Copy To');

define('TEXT_DELETE_CATEGORY_INTRO', 'Are you sure you want to delete this category?');
define('TEXT_DELETE_PRODUCT_INTRO', 'Are you sure you want to permanently delete this product?');

define('TEXT_DELETE_WARNING_CHILDS', '<b>WARNING:</b> There are %s (child-)categories still linked to this category!');
define('TEXT_DELETE_WARNING_PRODUCTS', '<b>WARNING:</b> There are %s products still linked to this category!');

define('TEXT_MOVE_PRODUCTS_INTRO', 'Please select which category you wish <b>%s</b> to reside in');
define('TEXT_MOVE_CATEGORIES_INTRO', 'Please select which category you wish <b>%s</b> to reside in');
define('TEXT_MOVE', 'Move <b>%s</b> to:');

define('TEXT_NEW_CATEGORY_INTRO', 'Please fill out the following information for the new category');
define('TEXT_CATEGORIES_NAME', 'Category Name:');
define('TEXT_CATEGORIES_IMAGE', 'Category Image:');
define('TEXT_SORT_ORDER', 'Sort Order:');

define('TEXT_PRODUCTS_STATUS', 'Products Status:');
define('TEXT_PRODUCTS_DATE_AVAILABLE', 'Date Available:');
define('TEXT_PRODUCT_AVAILABLE', 'In Stock');
define('TEXT_PRODUCT_NOT_AVAILABLE', 'Out of Stock');
define('TEXT_PRODUCTS_MANUFACTURER', 'Products Manufacturer:');
define('TEXT_PRODUCTS_NAME', 'Products Name:');
define('TEXT_PRODUCTS_DESCRIPTION', 'Products Description:');
define('TEXT_PRODUCTS_QUANTITY', 'Products Quantity:');
define('TEXT_PRODUCTS_MODEL', 'Products Model:');
// BOF: Additional Images
define('TEXT_PRODUCTS_IMAGE', 'Thumb or Single Large Image:');
// EOF: Additional Images
define('TEXT_PRODUCTS_URL', 'Products URL:');
define('TEXT_PRODUCTS_URL_WITHOUT_HTTP', '<small>(without http://)</small>');
define('TEXT_PRODUCTS_PRICE_NET', 'Products Price (Net):');
define('TEXT_PRODUCTS_PRICE_GROSS', 'Products Price (Gross):');
define('TEXT_PRODUCTS_WEIGHT', 'Products Weight:');

define('EMPTY_CATEGORY', 'Empty Category');

define('TEXT_HOW_TO_COPY', 'Copy Method:');
define('TEXT_COPY_AS_LINK', 'Link product');
define('TEXT_COPY_AS_DUPLICATE', 'Duplicate product');

define('ERROR_CANNOT_LINK_TO_SAME_CATEGORY', 'Error: Can not link products in the same category.');
define('ERROR_CATALOG_IMAGE_DIRECTORY_NOT_WRITEABLE', 'Error: Catalog images directory is not writeable: ' . DIR_FS_CATALOG_IMAGES);
define('ERROR_CATALOG_IMAGE_DIRECTORY_DOES_NOT_EXIST', 'Error: Catalog images directory does not exist: ' . DIR_FS_CATALOG_IMAGES);
define('ERROR_CANNOT_MOVE_CATEGORY_TO_PARENT', 'Error: Category cannot be moved into child category.');

// BOF: Additional Images
define('TEXT_INFO_HEADING_NEW_IMAGES', 'Additional Images');
define('TEXT_NEW_IMAGES_INTRO', 'Additional images for this product.<br>');    
define('TEXT_NEW_IMAGES_FOOTER', '<hr><br><u>Upload Help</u><br><br><font color="red">If you only have one image size</font>, upload it as the Thumbnail image only. Leave Product Info and Popup image blank!<br><br>Leave Image Description blank to display default "Click to enlarge" text.<br><br>If you wish to manage all the images on your own, make sure Auto-generate is off and never select the Generate Now checkbox.<br><br>');    
define('TEXT_NEW_IMAGES_AUTO_ON_STATEMENT', '<font color="green">Auto-generate images is on.</font><br> Upload your original image in the Thumb Image field. Leave Product Info and Popup image blank!');
define('TEXT_NEW_IMAGES_AUTO_OFF_STATEMENT', '<font color="red">Auto-generate images is off.</font><br> This option will generate and cache the three image set for all your products on each uploaded image. You may change this option in your configuration section. Look for Additional Images.');
define('TEXT_NEW_IMAGES_MANUALLY_GENERATE', '<font color="red">Generate 3 image set now.</font> Select this checkbox to allow this script to generate the image set from your single large product image.');
define('TEXT_PRODUCTS_IMAGE_UPLOAD_LOCATION', 'Upload Location:');
define('TEXT_PRODUCTS_IMAGE_UPLOAD_LOCATION_NOTE', 'Uploading to:');
define('TEXT_IMAGE_DESCRIPTION_NOTE', '* Leave blank to display default "Click to enlarge" text.');

define('TEXT_IMAGES_CREATE_LARGE_SUCCESS', 'Large file: %s successfully created.');
define('TEXT_IMAGES_CREATE_LARGE_FAIL', 'Large file: %s could not be created.');
define('TEXT_IMAGES_CREATE_THUMB_SUCCESS', 'Thumb file: %s successfully created.');
define('TEXT_IMAGES_CREATE_THUMB_FAIL', 'Thumb file: %s could not be created.');
define('TEXT_IMAGES_CREATE_PRODI_SUCCESS', 'Products Info file: %s successfully created.');
define('TEXT_IMAGES_CREATE_PRODI_FAIL', 'Products Info file: %s could not be created.');
define('TEXT_IMAGES_CREATE_FAIL', 'Your PHP version must be greater then or equal to 4.3.2 to use the thumbnailing feature of this contirbution.');

define('TEXT_DEL_IMAGES_INTRO', 'Delete additional image for this product');
define('TEXT_DELETE_IMAGE', 'Delete this image.');
define('TEXT_PRODUCTS_IMAGES_NEW', 'Thumb or Single Large Image:');
define('TEXT_PRODUCTS_IMAGES_NEWMED', 'Products Info Image (Optional):');
define('TEXT_PRODUCTS_IMAGES_NEWPOP', 'Popup Image (Optional):');
define('TEXT_PRODUCTS_IMAGES_DESC', 'Image Description');
define('ERROR_ADDITIONAL_IMAGE_IS_EMPTY', 'Error: Additional images field is empty');
define('ERROR_NO_ADDITIONAL_IMAGES', 'No Additional Images!');
define('ERROR_DEL_IMG_XTRA','ERROR: Can not delete image ');
define('SUCCESS_DEL_IMG_XTRA','The image was deleted correctly: ');
//SECTION:    REAL MAIN POPUP IMAGE
define('TEXT_PRODUCTS_IMAGE_MED', 'Products Info Image (Optional):');
define('TEXT_PRODUCTS_IMAGE_POP', 'Popup Image (Optional):');
//SECTION:    DELETE POPUP IMAGE
define('ERROR_DEL_IMG_XTRA','ERROR: Can not delete image ');
define('SUCCESS_DEL_IMG_XTRA','The image was deleted correctly: ');
//SECTION:    IMAGE UPLOADS: process_uploads() function
define('ERROR_CATALOG_IMAGE_DIRECTORY_IS_NOT_WRITABLE','This: %s directory is not writable. Attempting to correct...');
define('ERROR_CATALOG_IMAGE_DIRECTORY_CREATE_FAILED','Failed to create directory %s.');
define('SUCCESS_CATALOG_IMAGE_DIRECTORY_CREATED','Directory %s successfully created.');
define('ERROR_SETTING_PERMISSIONS','Directory permissions could not be set on %s.');
define('SUCCESS_SETTING_PERMISSIONS','Directory permissions on %s was set successfully.');
define('ERROR_IMAGE_UPLOAD_FAILED','Image %s was not uploaded. Please check your folder permissions.');
define('SUCCESS_IMAGE_UPLOADED','Image %s was uploaded successfully.');
// EOF: Additional Images
?>
